package com.tongfusoft.document.manager.account.service;

import java.util.List;

import com.tongfusoft.da.pagehelper.PageInfo;
import com.tongfusoft.document.entity.AccountHasUsers;
import com.tongfusoft.document.entity.Accounts;
import com.tongfusoft.document.entity.Users;

public interface IDocumentAccountService {
	/**
	 * 新建账户
	 * */
	
	public void createAccount(Accounts account,Users user);
	/**
	 * 删除账户
	 * */
	public void deleteAccount(Accounts account,Users user);
	/**
	 * 编辑账户
	 * */
	public void updateAccount(Accounts account,Users user);
	/**
	 * 账户详情
	 * */
	public Accounts detailAccount(Accounts account);
	/**
	 * 显示账户
	 * */
	public List<Accounts> accountList();
	/**
	 * 根据条件显示账户
	 * */
	public List<Accounts> accountListById(Users user);
	/**
	 * 分页显示账户
	 * */
	public PageInfo<Accounts> accountPageTable(int pageIndex, int pageSize,
			Accounts account);
	/**
	 * 查询账户是否绑定用户
	 * */
	public List<AccountHasUsers> getAccountHasUser(AccountHasUsers accountHasUsers);
	
}
